import request from './request.js'

// 商品模块
const comparison = {
  // 车源详情
  GetGoodsCarSourceDetails(data) {
    return request.post('/api/client/core/GoodsCarSource/GetGoodsCarSourceDetails', data)
  },
  // 车源详情-金融方案
  GetCarSurceLoanplan(data) {
    return request.post('/api/client/core/GoodsCarSource/GetCarSurceLoanplan', data)
  },
  // 车源详情-添加购车订单
  AddOrder(data) {
    return request.post('/api/client/core/OrderBuyCar/AddOrder', data)
  },
  // 上传身份证
  IDCardVerify(data) {
    return request.post('/api/client/core/IDCardVerify/IDCardVerify', data)
  },
  // 判断是否上传身份证
  CheckIDCardVerify(data) {
    return request.get('/api/client/core/IDCardVerify/CheckIDCardVerify', data)
  },
  // 添加购车申请个人资料
  AddPersonalData(data) {
    return request.post('/api/client/core/OrderPersonalData/AddPersonalData', data)
  },
  //获取预约店铺信息
  GetStoreInfo(data) {
    return request.post('/api/client/core/CarBook/GetStoreInfo', data)
  },
  //预约
  AddNewCarBook(data) {
    return request.post('/api/client/core/CarBook/AddNewCarBook', data)
  },
  //选择门店
  GetStorePageList(data) {
    return request.post('/api/client/core/CarBook/GetStorePageList', data)
  },
  //通过卡号获取银行卡信息
  GetBankInfo(data) {
    return request.post('/api/client/core/AccountBank/GetBankInfo', data)
  },
  //添加我的车单
  InsertMyCarEntity(data) {
    return request.post('/api/client/core/MyCar/InsertMyCarEntity', data)
  },
  //获取我的车单
  GetMyCarList(data) {
    return request.post('/api/client/core/MyCar/GetMyCarList', data)
  },
  //随机获取车单中分期支付的车源
  GetCarLoanPaymentList(data) {
    return request.post('/api/client/core/MyCar/GetCarLoanPaymentList', data)
  },
  //获取我的车单对应车源的店铺列表（直营店）
  GetMyCarStoreList(data) {
    return request.post('/api/client/core/MyCar/GetMyCarStoreList', data)
  },
  //删除我的车单
  DeleteMyCar(data) {
    return request.post('/api/client/core/MyCar/DeleteMyCar', data)
  },
  //支付
  OrderBuyCarEarnestMoneyPay(data) {
    return request.post('/api/client/core/OrderBuyCar/OrderBuyCarEarnestMoneyPay', data)
  },
  //获取我的爱车列表
  GetCarList(data) {
    return request.post('/api/common/core/LvoeCar/GetCarList', data)
  },
  //获取我的爱车--基本信息
  GetCarData(data) {
    return request.post('/api/client/core/AccountCar/GetCarData', data)
  },
  //获取我的爱车--修改爱车保险数据
  UpdateCarInsuranceData(data) {
    return request.post('/api/client/core/AccountCar/UpdateCarInsuranceData', data)
  },
  //获取我的爱车--修改爱车基础数据
  UpdateCarData(data) {
    return request.post('/api/client/core/AccountCar/UpdateCarData', data)
  },
  //获取我的爱车--保养记录
  GetMaintenanceRecord(data) {
    return request.post('/api/client/core/AccountCar/GetMaintenanceRecord', data)
  },
  // 根据保养分类ID获取商品
  GetGoodsByMaintenanceTypeId(data) {
    return request.post('/api/client/core/MaintenanceGoods/GetGoodsByMaintenanceTypeId', data)
  },
  // 根据商品分类ID获取商品
  GetGoodsByCarGoodsTypeId(data) {
    return request.post('/api/client/core/MaintenanceGoods/GetGoodsByCarGoodsTypeId', data)
  },
  //获取我的爱车--车况档案
  GetCondition(data) {
    return request.post('/api/client/core/AccountCar/GetCondition', data)
  },
  //获取我的爱车--检查记录列表
  GetRecordList(data) {
    return request.post('/api/client/core/AccountCar/GetRecordList', data)
  },
  //获取我的爱车--检查记录--预检
  GetYJList(data) {
    return request.post('/api/client/core/AccountCar/GetYJList', data)
  },
  //获取我的爱车--检查记录--上检
  GetSJList(data) {
    return request.post('/api/client/core/AccountCar/GetSJList', data)
  },
  //获取我的爱车--检查记录--质检
  GetZJList(data) {
    return request.post('/api/client/core/AccountCar/GetZJList', data)
  },
  //获取我的爱车--检查记录--交车报告
  GetReport(data) {
    return request.post('/api/client/core/AccountCar/GetReport', data)
  },
  //获取我的爱车--检查记录--预检上检质检签字保存
  AddSignature(data) {
    return request.post('/api/client/core/AccountCar/AddSignature', data)
  },
  // 排队前信息回显
  ClientQueueInfoBack(data) {
    return request.post('/api/client/core/Queue/ClientQueueInfoBack', data)
  },
  // 排队提交
  ClientQueue(data) {
    return request.post('/api/client/core/Queue/ClientQueue', data)
  },
  // 设置默认爱车
  UpdateDefaultCar(data) {
    return request.post('/api/client/core/AccountCar/UpdateDefaultCar', data)
  },
  // 根据车子匹配车源
  GetGoodsCarId(data) {
    return request.post('/api/client/core/GoodsCarSource/GetGoodsCarId', data)
  },
  // 云商通支付获取微信openid
  YstWxPayGetWxInfo(data) {
	  return request.post('/api/common/core/YstWxPay/YstWxPayGetWxInfo', data)
  },
  // 根据ID获取会员卡信息
  GetSelfServiceCarWashCardById(data) {
    return request.post('/api/client/core/SelfServiceCarWashCard/GetSelfServiceCarWashCardById', data)
  },
  // 获取会员卡信息
  GetSpreadSelfServiceCarWashCard() {
    return request.get('/api/client/core/SelfServiceCarWashCard/GetSpreadSelfServiceCarWashCard')
  },
}

export default comparison
